package org.aplikator.client.local.command;

import com.github.gwtbootstrap.client.ui.FluidContainer;
import com.google.gwt.event.shared.EventBus;
import com.google.gwt.user.client.ui.AcceptsOneWidget;
import com.google.gwt.user.client.ui.Widget;
import org.aplikator.client.shared.descriptor.ViewDTO;

public class WelcomeScreen extends AplikatorActivity {



    public WelcomeScreen() {
        super("");
    }

    protected ViewDTO view;


    @Override
    public void start(final AcceptsOneWidget panel, EventBus eventBus) {
        drawPanel(panel);
    }

    private void drawPanel(AcceptsOneWidget panel) {
        if (widget == null) {
            widget = createTable();
        }
        panel.setWidget(widget);


    }



    private Widget widget = null;
    private Widget createTable() {

        FluidContainer container = new FluidContainer();
        return container.asWidget();

    }



}
